<html>
<body>
<table width="100%" border="0">
  <tr>
  	<td>
  		<table width="100%" border="0">
  			<tr>
  				<td width="75%" valign="top">
  					<b>One#</b>
  				</td>
  				<td width="25%" valign="top">
  					<b>One# Pte Ltd</b><br>
  					${getCompanyAddress}<br>
  					Call: ${getHotlineNumber}<br>
  					Email: ${getCompanyEmail}
  				</td>
  			</tr>
  		</table>
  	</td>
  </tr>
  <tr>
  	<td>
  		${getCustomerName}
  	</td>
  </tr>
  <tr>
  	<td>
  		${getCustomerBillingAddress}
  	</td>
  </tr>
  <tr>
  	<td align="center">
  		Account No: <b>${getAccountNumber}</b><br>
  		Bill date: <b>${getBillingDate}</b><br>
  		Due Date: <b>${getBillingDueDate}</b><br>
  	</td>
  </tr>
  <tr>
  	<td>
  		<b><i>At a Glance</i></b>
  	</td>
  </tr>
  <tr>
  	<td>
  		<table width="100%">
  			<tr>
  				<td width="40%">
  					Previous Balance:
  				</td>
  				<td>
  					${getPreviousBalance}
  				</td>
  			</tr>
  			<tr>
				<td width="40%">
  					Payments:
  				</td>
  				<td>
  					${getPreviousPayment}
  				</td>  			
  			</tr>
  			<tr>
  				<td colspan="2">
  					&nbsp;
  				</td>
  			</tr>
  			<tr>
				<td width="40%">
  					Current Charges Due on ${getBillingDueDate}
  				</td>
  				<td>
  					${getThisBillCharges}
  				</td>  			
  			</tr>
			<tr>
  				<td colspan="2">
  					&nbsp;
  				</td>
  			</tr> 
  			<tr>
				<td width="40%">
  					<b>Please pay</b>
  				</td>
  				<td>
  					${getTotalBalance}
  				</td>  			
  			</tr> 			
  		</table>
  	</td>
  </tr>
  <tr>
  	<td>
  		<hr>
  	</td>
  </tr>
  <tr>
  	<td>
  		&nbsp;
  	</td>
  </tr>
  <tr>
  	<td>
  		<table width="100%" border="0">
  			<tr>
  				<td valign="top" width="20%">
  					<b>One#</b>
  				</td>
  				<td colspan="2" width="55%">
  					&nbsp;
  				</td>
  				<td valign="top" width="25%">
  					Account No: ${getAccountNumber} <br>
  					Bill Date: ${getBillingDate}
  				</td>
  			</tr>
  			<tr>
  				<td colspan="4">
  					&nbsp;
  				</td>
  			</tr>
			<tr>
  				<td width="20%">
  					&nbsp;
  				</td>
  				<td width="35%">
  					&nbsp;
  				</td>
  				<td width="20%">
  					<b>Amount(S$)</b>
  				</td>
  				<td width="25%">
  					<b>Total(S$)</b>
  				</td>
  			</tr>
			<tr>
  				<td colspan="4">
  					<b>Summary - Payment Details</b>
  				</td>
  			</tr>
  			${populateDynamicPaymentListing}
  			<tr>
  				<td colspan="4">
  					&nbsp;
  				</td>
  			</tr>
  			<tr>
  				<td colspan="4">
  					<b>Summary Current Charges</b>
  				</td>
  			</tr>
  			<tr>
  				<td colspan="4">
  					&nbsp;
  				</td>
  			</tr>
  			<tr>
  				<td colspan="4">
  					${populateDynamicSummaryServiceSection}
  				</td>
  			</tr>
  			<tr>
  				<td colspan="4">
  					&nbsp;
  				</td>
  			</tr>
  			<tr>
  				<td width="20%" valign="top">
  					Total GST
  				</td>
  				<td width="35%" valign="top">
  					&nbsp;
  				</td>
  				<td width="20%" valign="top">
  					&nbsp;
  				</td>
  				<td width="25%" valign="top">
  					${getCurrentGSTCharge}
  				</td>
  			</tr>
  			<tr>
  				<td width="20%" valign="top">
  					<b>Total Current Charges</b>
  				</td>
  				<td width="35%" valign="top">
  					&nbsp;
  				</td>
  				<td width="20%" valign="top">
  					&nbsp;
  				</td>
  				<td width="25%" valign="top">
  					${getThisBillCharges}
  				</td>
  			</tr>		
  		</table>
  	</td>
  </tr>
  <tr>
  	<td>
  		&nbsp;
  	</td>
  </tr>
  <tr>
  	<td align="center">
  		<hr>
  		Account Details<br>
  		<hr>
  	</td>
  </tr>
  <tr>
  	<td>
  		&nbsp;
  	</td>
  </tr>
  <tr>
  	<td>
  		<table width="100%">
  			<tr>
  				<td width="20%">
  					&nbsp;
  				</td>
  				<td width="35%">
  					&nbsp;
  				</td>
  				<td width="20%">
  					<b>Amount(S$)</b>
  				</td>
  				<td width="25%">
  					<b>Total(S$)</b>
  				</td>
  			</tr>
  			<tr>
  				<td colspan="4">
  					${populateDynamicCurrentAccountDetails}
  				</td>
  			</tr>
  			<tr>
  				<td colspan="4">
  					&nbsp;
  				</td>
  			</tr>
			<tr>
  				<td width="20%" valign="top">
  					Total GST
  				</td>
  				<td width="35%" valign="top">
  					&nbsp;
  				</td>
  				<td width="20%" valign="top">
  					&nbsp;
  				</td>
  				<td width="25%" valign="top">
  					${getCurrentGSTCharge}
  				</td>
  			</tr>
  			<tr>
  				<td width="20%" valign="top">
  					<b>Total Current Charges</b>
  				</td>
  				<td width="35%" valign="top">
  					&nbsp;
  				</td>
  				<td width="20%" valign="top">
  					&nbsp;
  				</td>
  				<td width="25%" valign="top">
  					${getThisBillCharges}
  				</td>
  			</tr>		  			
  		</table>
  	</td>
  </tr>  
</table>
</body>
</html>